/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MyBot;

import cz.cuni.pogamut.Client.*;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;

import java.util.logging.Logger;


/**
 *
 * @author immonteiro
 */
public class MyLauncher extends AgentLauncher {

    public MyLauncher(Agent agent, URI ut, boolean localParser){
        super(agent, ut, localParser);
    }

    @SuppressWarnings("empty-statement")
    public static void main (String [] args){
        try {
            MyAgent agent = new MyAgent();
            URI myURI = new URI(args.length == 0 ? "localhost" : args[0]);
            MyLauncher launcher = new MyLauncher(agent, myURI, true);
            launcher.launch();
        } catch (URISyntaxException ex) {
            Logger.getLogger(MyLauncher.class.getName()).log(Level.SEVERE, null, ex);
        }

      

    }
}
